The generator matrix

 1  0  1  1  1 X^2+X  1  1  0  1  1 X^2+X  1  1  0  1  1  0  1 X^2+X  1  1  1  X  1  1  1  1  1  1  1  1 X^2 X^2 X^2  X X^2+X  X X^2  1
 0  1 X+1 X^2+X X^2+1  1  0 X+1  1 X^2+X X^2+1  1  0 X+1  1 X^2+X X+1  1 X^2+1  1 X^2  X  1  1 X^2+X+1  1 X^2+X+1  1 X^2+X+1 X^2+1 X^2+X+1  1  1  1  1  1  1  1  1 X+1
 0  0 X^2  0 X^2  0 X^2  0 X^2 X^2  0 X^2  0  0  0 X^2 X^2 X^2  0  0 X^2  0 X^2 X^2 X^2 X^2  0  0 X^2 X^2  0  0 X^2 X^2  0  0 X^2 X^2  0  0
 0  0  0 X^2 X^2 X^2 X^2  0  0  0 X^2 X^2 X^2 X^2 X^2 X^2 X^2 X^2  0  0  0  0  0  0  0 X^2 X^2  0 X^2  0  0 X^2  0 X^2 X^2  0  0 X^2  0  0

generates a code of length 40 over Z2[X]/(X^3) who�s minimum homogenous weight is 38.

Homogenous weight enumerator: w(x)=1x^0+35x^38+48x^39+86x^40+48x^41+35x^42+1x^46+1x^50+1x^64

The gray image is a linear code over GF(2) with n=160, k=8 and d=76.
This code was found by Heurico 1.16 in 0.0204 seconds.